/*!
 @header      CarouselView.h
 @discussion  广告轮播图
 @author      Created by liux on 16/8/19
 @copyright   Copyright © 2016年 eeepay. All rights reserved.
 */

#import <UIKit/UIKit.h>

@protocol CarouselViewDelegate <NSObject>
- (void)didClickPageAtIndex:(NSInteger)index;
@end
@interface CarouselView : UIView
@property (assign, nonatomic) id <CarouselViewDelegate>delegate;
/**
 *  初始化轮播图
 */
- (instancetype)initWithFrame:(CGRect)frame data:(NSArray *)data delegate:(id<CarouselViewDelegate>)delegate;
@end

